package com.tom.org.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tom.basic.domain.BaseDomain;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    private String name;
    private String tel;
    @DateTimeFormat(pattern="YYYY-MM-dd HH:mm:ss")
    @JsonFormat(pattern="YYYY-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date registerTime;
    private Integer state;
    private String address;
    private String logo;
    private Long admin_id;

}
